package com.blacktry.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.blacktry.entity.blog.Comments;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author blackTry
 * @since 2022-02-07
 */
public interface CommentsService extends IService<Comments> {

    Map<Integer, List<Integer>> selectCommentsByArticleId(Integer articleId);

    Integer  insertCommentsByArticleId(Integer articleId,String userId);

    Integer deleteCommentsByCommentId(Integer commentId );
}
